<!-- BEGIN PAGE CONTAINER-->
<div class="container-fluid">
    <!-- BEGIN PAGE HEADER-->
    <div class="row-fluid">
        <div class="span12">
            <!-- BEGIN PAGE TITLE & BREADCRUMB-->
            <h3 class="page-title">
                Thông tin thành viên
            </h3>
            <ul class="breadcrumb">
                <li>
                    <i class="icon-home"></i>
                    <a href="index.html">Trang chủ</a>
                    <i class="icon-angle-right"></i>
                </li>
                <li>
                    <a href="#">Thành viên quản trị</a>
                    <i class="icon-angle-right"></i>
                </li>
                <li><a href="#">Thông tin thành viên</a></li>
            </ul>
            <!-- END PAGE TITLE & BREADCRUMB-->
        </div>
    </div>
    <!-- END PAGE HEADER-->
    <!-- BEGIN PAGE CONTENT-->
    <div class="row-fluid">
        <div class="span12">
            <!-- BEGIN EXAMPLE TABLE PORTLET-->
            <div class="portlet box light-grey">
                <div class="portlet-title">
                    <h4><i class="icon-plus-sign"></i>Thông tin thành viên</h4>
                    <div class="tools">
                        <a href="javascript:;" class="collapse"></a>
                    </div>
                </div>
                <div class="portlet-body form">
                    <!-- BEGIN FORM-->
                    <form action="/admin/users/update/id/<?php echo $model->id;?>" method="post" class="form-horizontal form-bordered">
                        <div class="control-group">
                            <label style="margin-top:4px" class="control-label">Tên đầy đủ</label>
                            <div class="controls">
                                <?php echo $model->firstname . " " . $model->lastname?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label style="margin-top:4px" class="control-label">Tên đăng nhập</label>
                            <div class="controls">
                                <?php echo $model->username?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label style="margin-top:4px" class="control-label">Mật khẩu</label>
                            <div class="controls">
                                ******
                            </div>
                        </div>
                        <div class="control-group">
                            <label style="margin-top:4px" class="control-label">Email</label>
                            <div class="controls">
                                <?php echo $model->email?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" >Quản trị</label>
                            <div class="controls">
                                <label class="radio">
                                    <input type="radio" name="optionsRadios2" value="1" <?php if($model->role == 1) echo 'checked';?>/>
                                    Toàn site
                                </label>
                                <label class="radio">
                                    <input type="radio" name="optionsRadios2" value="2" <?php if($model->role == 2) echo 'checked';?>/>
                                    Nội dung
                                </label>
                            </div>
                        </div>
                        <div class="control-group">
                            <label style="margin-top:4px" class="control-label">Kích hoạt</label>
                            <div class="controls">
                                <?php if($model->status == 1) echo 'Có';?>
                            </div>
                        </div>
                        <div class="form-actions">
                            <button type="submit" class="btn blue" onclick="window.location='/admin/users/update/id/<?php echo $model->id;?>'"><i class="icon-ok"></i> Chỉnh sửa</button>
                            <button type="button" class="btn" onclick="window.location='/admin'">Hủy</button>
                        </div>
                    </form>
                    <!-- END FORM-->
                </div>
            </div>
            <!-- END EXAMPLE TABLE PORTLET-->
        </div>
    </div>

    <!-- END PAGE CONTENT-->
</div>
<!-- END PAGE CONTAINER-->